package com.dmwork.service.work.feign.impl;

import com.dmwork.common.base.result.R;
import com.dmwork.service.work.feign.WorkCollectFeignService;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public class WorkCollectFeignServiceFallback implements WorkCollectFeignService {
    @Override
    public R getWorkIdList(String customerId, String collectGroupId, Integer page, Integer limit) {
        return R.error().message("获取失败");
    }

    @Override
    public R checkWorkIsCollected(String workId) {
        return R.error().message("获取失败");
    }

    @Override
    public Integer getCollectCountByWorkId(String workId) {
        return null;
    }

    @Override
    public Map<String, Integer> getBatchCollectCountByWorkIdList(List<String> workIdList) {
        return null;
    }
}
